package com.yunqiao.service.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 短信验证码
 * 
 * @author Crocutax
 * @email wangxw725@163.com
 * @date 2019-03-06 15:30:51
 */
@TableName("sys_smscode")
@Data
@ApiModel(value = "短信验证码对象")
public class SysSmscodeEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
		@ApiModelProperty(value = "")
	@JsonSerialize(using = ToStringSerializer.class)
	private Integer id;
	/**
	 * 手机号码
	 */
		@ApiModelProperty(value = "手机号码")
	private String phone;
	/**
	 * 验证码
	 */
		@ApiModelProperty(value = "验证码")
	private String smscode;
	/**
	 * 
	 */
		@ApiModelProperty(value = "")
	private Date createdAt;
	/**
	 * 
	 */
		@ApiModelProperty(value = "")
	private Date updatedAt;

}
